package com.allen.study.application.repository;

import com.allen.study.application.api.request.ApprovalRecordQueryRequest;
import com.allen.study.application.api.response.ApprovalRecordQueryResponse;
import com.allen.study.common.base.Pagination;

import java.util.List;

/**
 * 审批记录表读模型资源库
 *
 * @author AllenSun
 * @since 2025-04-23 20:46
 */
public interface IApprovalRecordReadModelRepo {

    /**
     * 查询审批记录表列表
     *
     * @param pagination   分页
     * @param queryRequest 审批记录表查询请求对象
     * @return 审批记录表响应数据传输对象列表
     */
    List<ApprovalRecordQueryResponse> query(Pagination pagination, ApprovalRecordQueryRequest queryRequest);
}